﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <style>
        .pagination {display:block;clear:both;}
        .pagination li{list-style:none;float:left;}
        .pagination li.current{font-weight:bold;}
        .pagination li a{padding:3px 5px;text-decoration:none;color:#000;}
        .pagination li.current a{color:#F00;}
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <asp:Repeater ID="rptGrid" runat="server">
            <HeaderTemplate>
                <table width="100%" cellpadding="5" cellspacing="1" border="1">
                    <tr>
                        <th>No</th>
                        <th>ID</th>
                        <th>Name</th>
                        <th>Date</th>
                    </tr>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td><%#Eval("No") %></td>
                    <td><%#Eval("ID") %></td>
                    <td><%#Eval("Name") %></td>
                    <td><%#Eval("Date") %></td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>
        <div style="margin:20px;">
            <asp:Label ID="lblPagination" CssClass="pagination" runat="server"></asp:Label>
        </div>        
    </form>
</body>
</html>
